package test3_tx.service;

import org.springframework.transaction.annotation.Transactional;

public interface AccountService {

    public void transfer(String out,String in,Double money);

    //模拟会出现错误
    public void transfer_exc(String out,String in,Double money);

    //使用事务解决问题
    public void transfer_tx(String out,String in,Double money);
}
